<?php

include("../../functions.php");

$tblname="cal"; // the name of your MySQL Database Table
$tblDateName="date"; // the name of your MySQL Table Date Field
/*$tblContent="newstitle"; // the name of your MySQL Table Content Field
$tblLink="newslink"; // the name of your MySQL Table Link Field*/

/*
$sql="SELECT UNIX_TIMESTAMP(".$tblDateName.") AS ".$tblDateName.", ".$tblContent.", ".$tblLink." FROM ".$tblname;
*/

$sql = "SELECT UNIX_TIMESTAMP(".$tblDateName.") AS ".$tblDateName." FROM ".$tblname;
$sqlID = @mysql_query($sql);

$yearID=false; // GET variable for the year (set in Active Calendar Class), init false to display current year
$monthID=false; // GET variable for the month (set in Active Calendar Class), init false to display current month
$dayID=false; // GET variable for the day (set in Active Calendar Class), init false to display current day
extract($_GET);

require_once("activecalendar.php");
$cal = new activeCalendar($yearID,$monthID,$dayID);
